package com.fjut.kms.dao;

import com.fjut.kms.domain.User;

/**
 * Created by Empathy on 2017/7/12.
 */
public interface UserDao {
    User getUserByName(String userName);
    void updateLoginTimes(String userName);
    void addLoginRecord(User user);
    String getUserNameByUserName(String userName);
    void addUser(User user);
    void updatePassByUserName(String userName,String pass);
   String getDept(String userName);
}
